{% extends "admin/index.html" %}
{% load i18n %}

{% block content %}
	<h1> Teacher Grade Submissions </h1>
    <table>
				<tr>
						<th>Teacher</th>
						<th>Course</th>
						<th>Last grade submission</th>
				</tr>
		{% for teacher in teachers %}
				<tr>
						<td>{{ teacher }}</td>
				</tr>
				{% for course in teacher.courses %}
						<tr>
								<td></td>
								<td>{{ course }}</td>
								<td>{{ course.last_grade_submission }}</td>
						</tr>
				{% endfor %}
		{% endfor %}
		</table>
		
{% endblock %}

